﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SASS.Sociales.BE;
using SASS.Sociales.DAL;
using SASS.Sociales.Util;

namespace SASS.Sociales.BLL
{
    public class ActorBL
    {

        #region "Declaracion de Variables"

            ActorDAL oActorDAL = new ActorDAL();

        #endregion

        #region "Consultas"

        public ActorBE Obtener_Actor_SELPK(string codigoActor)
        {
            return oActorDAL.Obtener_Actor_SELPK(codigoActor);
        }

        public List<ActorBE> Listar_Actor_SELALL(string condicion) {
            return oActorDAL.Listar_Actor_SELALL(condicion);
        }

        #endregion

       #region "Mantenimiento"

        public bool Insertar_SIASS_Actor(ActorBE oActor) {
            return oActorDAL.Insertar_SIASS_Actor(oActor);
        }

        public bool Actualizar_SIASS_Actor(ActorBE oActor)
        {
            return oActorDAL.Actualizar_SIASS_Actor(oActor);
        }

       #endregion
    }
}
